<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <!-- 一个简单的表单，会发送一个 GET 请求 -->
    <form action="" method="get">
        <label for="GET-name">Name:</label>
        <input id="GET-name" type="text" name="name">
        <input type="submit" value="Save">
    </form>

    <!-- 一个简单的表单，发送 POST 请求 -->
    <form action="" method="post">
        <label for="POST-name">Name:</label>
        <input id="POST-name" type="text" name="name">
        <input type="submit" value="Save">
    </form>

    <!-- 使用 fieldset、legend，和 label 的表单 -->
    <form action="" method="post">
        <fieldset>
            <legend>Title</legend>
            <input type="radio" name="radio" id="radio">
            <label for="radio">Click me</label>
        </fieldset>
    </form>
</body>

</html>